//
// Created by sri01 on 2025/11/4.
//

#ifndef BSP_SPI_H
#define BSP_SPI_H

#include "spi.h"

HAL_StatusTypeDef BSP_SPI_Transmit(SPI_HandleTypeDef* hspi, uint8_t* pData, uint16_t Size, uint32_t Timeout);
HAL_StatusTypeDef BSP_SPI_Receive(SPI_HandleTypeDef* hspi, uint8_t* pData, uint16_t Size, uint32_t Timeout);
HAL_StatusTypeDef BSP_SPI_TransmitReceive(SPI_HandleTypeDef* hspi, uint8_t* pTxData, uint8_t* pRxData, uint16_t Size,
                                          uint32_t Timeout);

#endif  // BSP_SPI_H
